package com.example.infrastructure.api.person.dto;

import com.example.infrastructure.api.organization.dto.OrganizationDto;
import com.example.infrastructure.domain.person.aggregate.valueObject.Gender;
import lombok.Data;

/**
 * 类似于 {@link PersonDto}，但是多了一个 {@link OrganizationDto} 属性
 *
 * @author lxh
 * @date 2020/11/23 下午6:06
 **/
@Data
public class CompoundPersonDto {
    private String personId;
    private String name;
    private Gender gender;
    private String mobile;
    private OrganizationDto organization;
}
